#!/bin/bash
# Zaitan Module - Webmin Install
# Zaitan Team <http://zaitan.net/>

RMOD_ENGINE='1.0'
RMOD_CATEGORY='Software'
RMOD_SUBCATEGORY='Servers'
RMOD_NAME='Webmin'
RMOD_AUTHOR='Zaitan Team'
RMOD_VERSION='1.38'
RMOD_DESCRIPTION='Installs Webmin'



# install Webmin

echo Running $RMOD_NAME...
#/usr/lib/zaitan/modulo/mod-checkInstall

cd /usr/share/zaitan
apt-get update
	
	wget -c http://prdownloads.sourceforge.net/webadmin/webmin_1.380_all.deb
	dpkg -i webmin_1.380_all.deb
	apt-get -f install


echo $RMOD_NAME Finibashed...

##Logs
echo $RMOD_NAME-$RMOD_VERSION | tee -a /usr/share/zaitan/logs
/usr/lib/zaitan/modulo/mod-logs
##

exit 0

